﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Carwash.CW_Management
{
    class CW_Management_Facade
    {
        private CW_Management management_instance = new CW_Management();
        private LogPrinter log_instance = new LogPrinter();

        public string displayLogs()
        {
            return log_instance.displayLogs();
        }

        public bool addLogEntry(string newLog)
        {
            return log_instance.addLogEntry(newLog);
        }

        public bool enterPassword(string password)
        {
            return management_instance.enterPassword(password);
        }

        public bool logOut()
        {
            return management_instance.logOut();
        }

        public bool systemShutDown()
        {
            return management_instance.systemShutDown();
        }

        public int requestFreeCarwash()
        {
            return management_instance.requestFreeCarwash();
        }

        public bool systemTurnOn()
        {
            return management_instance.systemTurnOn();
        }

        public void clearLogs()
        {
            log_instance.clearLogs();
        }
    }
}
